﻿CREATE PROCEDURE [dbo].[Hogar_Remito_Actualizar]   
	@RemitoId INT,
	@NumeroRemito VARCHAR(50),
	@FechaEntrega DATE,
	@ProveedorId INT,
	@Observacion VARCHAR(255)
AS 
BEGIN

/*****************************************************************************************************************************************/
-- Author: Carlos Mendoza
-- Purpose:   actualiza los datos de un remito
/*****************************************************************************************************************************************/ 
	
   UPDATE [dbo].[Remito]
   SET [NumeroRemito] = @NumeroRemito, [FechaEntrega] = @FechaEntrega, [Observacion] = @Observacion, [ProveedorId] = @ProveedorId
   WHERE [RemitoId] = @RemitoId
	
END